package com.wyu.service;

import com.wyu.pojo.Cart;
import com.wyu.pojo.Order;
import com.wyu.pojo.OrderItem;

import java.util.List;

public interface OrderService {
    public String createOrder(Cart cart, Integer userId);

    public List<Order> showAllOrders();

    public int sendOrder(String id);

    public List<OrderItem> showOrderDetail(String id);

    public List<Order> showMyOrders(Integer id);

    public int receiverOrder(String id);
}
